@extends('frontend/layouts/flaty_to_bootstrap')

@section('content.titley')
Show ReAuction [{{  $re_auction->id }}] ::
@parent
@stop

    @section('content.breadcrumb.inner')
    <li><a href="{{  route('home') }}"><i class="icon-home"></i> Dashboard</a><span class="divider"><i class="icon-angle-right"></i></span></li>
    <li><a href="{{  route('car_balance.re_auction.index') }}"><i class="icon-home"></i> ReAuction list</a><span class="divider"><i class="icon-angle-right"></i></span></li>
    <li class="active">Show ReAuction [{{  $re_auction->id }}] </li>
    @stop

@section('content.main')

<p>{{ link_to_route('car_balance.re_auction.index', 'Back to ReAuction list', null, array('class' => 'btn btn-info')) }}</p>

<div class="row-fluid">
<table class="table table-bordered">

</table>

    <table class="table table-striped table-bordered">
        <col width="35%">
        <col width="60%">
        <tbody>
                <tr> <th>Id</th> <td>{{  $re_auction->id }}</td> </tr>
                <tr> <th>Re_Auction_Apply_Date</th> <td>{{  $re_auction->re_auction_apply_date }}</td> </tr>
                <tr> <th>Re_Auction_Date</th> <td>{{  $re_auction->re_auction_date }}</td> </tr>
                <tr> <th>Re_Auction_Fee</th> <td>{{  $re_auction->re_auction_fee }}</td> </tr>
                <tr> <th>Re_Auction_Transport_Fee</th> <td>{{  $re_auction->re_auction_transport_fee }}</td> </tr>
                <tr> <th>Status</th> <td>{{  $re_auction->status }}</td> </tr>
        
                                    <tr>
                    <th>Purchase Car</th>
                    <td>{{  $re_auction->purchaseCar()->first() ? link_to_route('car_balance.purchase_car.show', $re_auction->purchaseCar()->first()->name, array('id' => $re_auction->purchaseCar()->first()->id), array()) : 'NULL' }}</td>
                </tr>
                            <tr>
                    <th>Service Company</th>
                    <td>{{  $re_auction->serviceCompany()->first() ? link_to_route('car_balance.service_company.show', $re_auction->serviceCompany()->first()->name, array('id' => $re_auction->serviceCompany()->first()->id), array()) : 'NULL' }}</td>
                </tr>
                    
        <tr><td colspan="2">
                                    <a href="{{  route('car_balance.re_auction.delete', $re_auction->id) }}" class="btn btn-mini btn-danger">Delete</a>
                            </td></tr>
        </tbody>
    </table>
@stop